import http from '@/utils/request';

// 轮播图列表
export const bannerListApi = (params?: object) =>
  http.get('/banner/list', params);

// 删除轮播图
export const removeBannerApi = (params?: object) =>
  http.get('/banner/delete', params);

// 添加轮播图
export const addBannerApi = (data?: object) => http.post('/banner/add', data);
